﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebInvoicingsys.system.storage.stockmove
{
    public partial class stockmove_recv : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ;
            }
        }

        //查询
        protected void btnSearch_Click(object sender, EventArgs e)
        {
            string shipto = uc_from_warehouse.getValue();
            string billsno = txt_billsno.Text.Trim();

            if (String.IsNullOrEmpty(shipto))
            {
                return;
            }

            if (String.IsNullOrEmpty(billsno))
            {
                return;
            }

            string url = "/system/storage/stockmove/stockmove_recv_print.aspx?billsno={0}&shipto={1}";

            url = String.Format(url, billsno, shipto);

            Server.Transfer(url);
        }
    }
}